#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
    int y, m, d;
    scanf("%4d%2d%2d", &y, &m, &d);
    printf("year=%4d\n", y);
    printf("month=%2d\n", m);
    printf("date=%2d", d);
    return 0;
}